#include <stdio.h>
#include <stdlib.h>
#define cubic(A) ((A)*(A)*(A))
#define liwei(A,B) (((A)>(B))?(A):(B))
int main()
{
    int a,b;
    scanf("%d,%d",&a,&b);
    printf("%d",liwei(a,b));
    return 0;
}
